'use strict';

angular.module('bjggApp')
  .controller('NavbarCtrl', function ($scope, $location) {
    $scope.menu = [{
      'title': '角色管理 ',
      'link': '/user_index'
    },{
      'title': '业务目录管理',
      'link': '/'
    }];
 
    $scope.isCollapsed = true;

    $scope.isActive = function(route) {
      return route === $location.path();
    };
  });